projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8c373
)
Revert "Adwaita: avoid clipping menu/popover shadow"
author
Jakub Steiner
<jimmac@gmail.com>
Tue, 17 Nov 2020 15:48:49 +0000
(16:48 +0100)
committer
Jakub Steiner
<jimmac@gmail.com>
Tue, 17 Nov 2020 15:53:32 +0000
(16:53 +0100)
There are big side effects to adding padding around all menus and popovers.
https://gitlab.gnome.org/GNOME/gtk/-/issues/1987#note_963889
This reverts commit
d266bd62deaa5752ae79fe055696a9e1e411de2f
.
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index 68dd8176770dccafa04fccb2a56c64f947214072..a5b33be009094ed7b53ac3e0af7bb99857ec2cc0 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-4141,7
+4141,7
@@
popover.entry-completion > contents {
$_menu-padding: 12px;
popover.menu {
- padding:
2px 2px 2px 4px; //allow some shadow. #1987
+ padding:
0;
box.inline-buttons {
padding: 0 $_menu-padding;